#pragma once
#include <string>
#include "../../math/vec2.h"
#include "../../math/color.h"

class UIRenderer;
class Node;

class Label
{
private:
    int _flag;
    Node *_node;
    std::string _text;
    std::string _rendererId;
    Color _color{1, 1, 1, 1};
    std::string _shaderPath;
    std::string _textureUuid;

    UIRenderer *_renderer;

    /**
     * @brief 获取对象的内存地址字符串
     *
     * @return std::string
     */
    std::string _getAddressString();

public:
    Label(Node *node);
    // void setText(std::string text);

    ~Label();
};
